---@meta _

---Assists the player whose name is entered.
---@param playername string
function AssistByName(playername) end 

---Selects the specified player as the current target.
---@param name string
---@param exactMatch boolean? 是否精确匹配；缺省为`false`
function TargetByName(name, exactMatch) end   

---Clears the selected target.
function ClearTarget() end

---Selects the last target as the current target.
function TargetLastTarget() end

--[[
AssistByName("playername")   - Assists the player whose name is entered.
AssistUnit("unit")   - Instructs your character to assist the specified unit.
AttackTarget()   - Attacks the targetted unit.
ClearTarget()   - Clears the selected target.
ClickTargetTradeButton(index)
TargetByName("name"[, exactMatch])   - Selects the specified player as the current target.
TargetLastEnemy()   - Selects the last targetted enemy as the current target.
TargetLastTarget()   - Selects the last target as the current target.
TargetNearestEnemy([reverseFlag])   - Selects the nearest enemy as the current target.
TargetNearestFriend()   - Selects the nearest friendly unit as the current target.
TargetNearestPartyMember()   - Selects the nearest Party member as the current target.
TargetNearestRaidMember - Selects the nearest Raid member as the current target.
TargetUnit("unit")   - Selects the specified unit as the current target.
]]